function interp_data = interpolate_raw(audio_data, factor, method,param_cfg)
    if nargin < 3
        method = 'fir';
    end

    switch method
        case 'fir'
            interp_data = fir_interpolate(audio_data, factor,16,"fir",param_cfg);
        case 'box'
            interp_data = fir_interpolate(audio_data, factor,16,"box",param_cfg);
        case 'linear'
            interp_data = fir_interpolate(audio_data,factor,1,"box",param_cfg);
        case 'iir'
            interp_data = iir_interpolate(audio_data,factor,64,"box",param_cfg);
        otherwise
            error('未知插值方式');
    end
end
